package com.zhoudb.blog.dto;

import com.google.common.collect.Lists;
import com.zhoudb.blog.entity.Menu;

import java.util.List;

/**
 * <p>
 * 菜单表
 * </p>
 *
 * @author zhoudb
 * @since 2018-10-11
 */
public class Nav extends Menu {
    /**
     * 二级菜单列表
     */
    private List<Nav> menuList= Lists.newArrayList();

    /**
     * 父级菜单名称
     */
    private String parentName;

    public String getParentName() {
        return parentName;
    }

    public void setParentName(String parentName) {
        this.parentName = parentName;
    }

    public List<Nav> getMenuList() {
        return menuList;
    }
    public void setMenuList(List<Nav> menuList) {
        this.menuList = menuList;
    }

}
